package com.yingu.bookmanage_ssm1.Services;

import java.util.List;

import com.yingu.bookmanage_ssm1.Pojo.BookPojo;

public interface BookService {
	
	public List<BookPojo> findAll(int x,int pageSize);
	
	public int count();
	
	public int countPage(int pageSize);
	
	public boolean delete(int id);
	
	public boolean addBook(BookPojo bp);
	
	public boolean updateBook(BookPojo bp);
	
	public BookPojo findById(int id);
	
}
